package com.bing.bingPro.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 数据资产数据表关系配置
 * @TableName mg_dam_table_relation
 */
@TableName(value ="mg_dam_table_relation")
@Data
public class MgDamTableRelation implements Serializable {
    /**
     * 主键
     */
    @TableId(value = "relation_id", type = IdType.AUTO)
    private Long relationId;

    /**
     * 父表id
     */
    @TableField(value = "parent_table_id")
    private Long parentTableId;

    /**
     * 子表id
     */
    @TableField(value = "child_table_id")
    private Long childTableId;

    /**
     * 创建人
     */
    @TableField(value = "creator")
    private String creator;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    private Date createTime;

    /**
     * 修改时间
     */
    @TableField(value = "update_time")
    private Date updateTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}